AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(lobi,0.6.0)

#
# -- test for dependencies first, so we die quickly when they are not met
#

AC_CHECK_PROG([YASM],[yasm],[yasm])
if test -z $YASM ; then
   echo "Error: this library requires nasm to compile."
   echo "The yasm assembler is available at http://www.tortall.net/projects/yasm/"
   echo "If yasm is already available but not in your PATH, please modify"
   echo "the PATH so that this script can find it."
   exit
fi

AC_PROG_LIBTOOL
AC_PROG_CC

AC_DEFINE([PORTABLE],[],[This is for sys_floattime])


AC_OUTPUT(Makefile libsrc/Makefile include/Makefile)
